package me.boot.common.data.enums;


import io.swagger.annotations.ApiModel;
import lombok.Getter;
import me.base.utils.enums.DbEnum;


@Getter
@ApiModel("资源类型-枚举")
public enum ResourceType implements DbEnum {

    //@formatter:off

    MENU        (0, "菜单"),
    MODU        (1, "模块"),
    FUNC        (2, "功能"),
    DATA        (3, "数据"),

    ;
    //@formatter:on

    private final Integer value;
    private final String label;

    ResourceType(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
